package com.project.service;

import com.project.entity.CarGoods;
import com.project.entity.Purchase;
import com.project.mapper.CarGoodsMapper;
import com.project.mapper.PurchaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseService {
    @Autowired
    private PurchaseMapper purchaseMapper;

    public void save(Purchase purchase){
        purchaseMapper.save(purchase);
    }


 }
